package com.neusoft.yuejian_6.service;

import com.neusoft.yuejian_6.javabean.Classes;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Q on 2017/10/19.
 */

public interface ClassService {
    @GET("Class/getClasses")
    Call<List<Classes>> getAllClasses(@Query("club_id") int club_id);

    @GET("Class/Classdetail")
    Call<Classes> getClassById(
            @Query("class_id") int class_id

    );
    //报名活动
    @GET("Apply/addApply")
    Call<Classes> addclassyn(@Query("user_id") int user_id,
                             @Query("activity_id") int activity_id);




}
